package com.xmx.ndmallrabbitstarter.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Description: 用一句话描述
 * @Auther: 新梦想*陈超
 * @Date: 2021/9/4 19:40
 */
public class AmqpSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"com.xmx.ndmallrabbitstarter.config.OrderMqConfig",
                "com.xmx.ndmallrabbitstarter.config.StockMqConfig",
                "com.xmx.ndmallrabbitstarter.config.RabbitTemplateConfig"};
    }
}
